import request from '@/utils/request'

export const getHouseList = data => {
  return request.get(
    '/houses?cityId=AREA%7Cdbf46d32-7e76-1196&stat=1&end=10',
    data
  )
}
// 获取城市信息列表
export const getCities = level => {
  return request.get('/area/city', {
    params: {
      level
    }
  })
}
// 获取热门城市
export const gethotCities = () => {
  return request.get('/area/hot')
}
// 获取房屋具体信息
export const getdetailCity = id => {
  return request.get('/houses/' + id)
}

// 小区关键词查询
export const getCellList = data => {
  return request.get('/area/community', data)
}
